package cn.dengta.webapp.risk.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 数美相关配置
 *
 * @author zw
 * @since 2022-11-24
 */
@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "webapp.shumei")
public class SmCheckConfig {

	/** 事件标识 交友秀场：live； 1v1交友：message */
	private String liveEventId = "live";
	private String messageEventId = "message";

	/** 视频流风控音频回调地址 **/
	private String videoStreamUrl;
	/** 视频流风控图片回调地址 **/
	private String videoImgStreamUrl;
	/** 视频流视截帧识别类型 **/
	private String videoStreamImgType = "POLITY_EROTIC_VIOLENT_ADVERT_QRCODE";
	/** 视频流业务自定义类型（不露脸/性别不符/黑屏） **/
	private String videoCustomType = "FACEDETECTION_GENDER_LOWVISION";
	/** 视频流截帧识别类型 **/
	private String videoStreamAudioType = "POLITY_EROTIC_VIOLENT_ADVERT_QRCODE";
	/** 音频流风控回调地址 **/
	private String audioStreamUrl;
	/** 音频流风控类型 **/
	private String audioStreamType = "POLITY_EROTIC_MOAN";

}
